import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/mes-product/stat-work-hour-summary/page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

export const getDetail = (current, size, params) => {
  return request({
    url: '/api/mes-product/stat-work-hour/page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

// export const getMergeWorkerData = (current, size, workOrderId) => {
//   return request({
//     url: '/api/mes-abacus/work-hour-statistic/page-query-detail/merge',
//     method: 'get',
//     params: {
//       workOrderId,
//       current,
//       size
//     }
//   });
// };
//
// export const getUserInfoData = (params) => {
//   return request({
//     url: '/api/mes-abacus/work-hour-statistic/page-query-detail/shift/group',
//     method: 'get',
//     params: {
//       ...params
//     }
//   });
// };
